add_library(gd_dx9 MODULE
	defs.h
	Device.cpp
	Device.h
	dllmain.cpp
	Driver.cpp
	Driver.h
	gd_dx9.def
	Primitive.cpp
	Primitive.h
	stdafx.cpp
	stdafx.h
	targetver.h
	VertexFormatUtils.h
	VertexFormatUtils.inl
)

add_definitions(-DGD_DX9_EXPORTS)

target_link_libraries (gd_dx9 app_win core gd mem utils) 

#include (${TOOLS_ROOT}/common.cmake)
add_common_properties(gd_dx9)

set_target_properties (gd_dx9 PROPERTIES
	LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
